package com.lfg.learn.lock;

import java.util.HashMap;
import java.util.Map;
import java.util.concurrent.ConcurrentHashMap;
import java.util.concurrent.Executors;
import java.util.concurrent.locks.ReentrantLock;

public class LockLearn {



    public static void main(String[] args) throws InterruptedException {
        ReentrantLock lock = new ReentrantLock();
        lock.lock();
        Executors.newScheduledThreadPool(1);
        Map map  = new HashMap<>();
        Map map2  = new ConcurrentHashMap();

    }


}
